<%@page import="bbs.BBS"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%request.setCharacterEncoding("utf-8"); %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<jsp:useBean id="bv" class="bbs.BBSVo"/>
	<jsp:setProperty property="*" name="bv"/>
	<%
		BBS bbs = new BBS();
		bbs.setBv(bv);
		boolean flag = bbs.update();
		if(flag) out.println("<h1>수정 성공</h1>");
		else out.println("<h1>수정 실패!!!</h1>");
	%>
	<input type="button" value="목록" onclick="location.href='${pageContext.request.contextPath }/homepage/bbs/BList.jsp'">
</body>
</html>